package com.ssm.pojo;

public class Information {
    private Long  id;
    private Long fromId;
    private Long  toId;
    private String text;
    private Integer state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "InformationMapper{" +
                "id=" + id +
                ", fromId=" + fromId +
                ", toId=" + toId +
                ", text='" + text + '\'' +
                ", state=" + state +
                '}';
    }
}
